
public class base_cal {
	public double AreaCal(double x,double y){
		double area;
		area = x*y;
		return area;
	}
	
//	體積
	public double aa(double x,double y,double z){
		return AreaCal(x, y)*z;
	}

//  週長
	public double aaa(double x,double y){
		return 2*(x+y);
	}
}
